Save Document As
AutomatR.Word.Activities.SaveDocumentAs
The "Save Document As" activity in AutomatR is part of the Word activities package, allowing you to save a Word file, added to the project, as a different file with various format options. This activity provides flexibility by allowing you to specify the desired file name and choose the Word file type to save it as.
Properties
| Name | Description |
|---|---|
| Input | |
| Save As Type | Specifies the type of Word file to save as. You can choose from various formats, such as Word Document (.docx), Word 97-2003 Document (.doc), Web Page (.html), and Plain Text (.txt). Enum variables containing the desired file type. |
| Misc | |
| Display Name | Provides a customizable name for the activity displayed in the workflow. Enhances clarity and organization within the automation project. String variables containing the desired display name. |
| Optional | |
| Delay | Specifies the amount of time (in seconds) to wait before executing the "Save Document As" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Save Document As" activity onto the workflow.
- Configure the properties by selecting the desired file type from the "Save As Type" dropdown.
- Optionally, configure the delay before executing the activity.
- Execute the workflow to save the Word document with the specified file type.
Example:
Consider an example where the "Save Document As" activity is used to save a Word document named "Document1.docx" as a Word 97-2003 Document (.doc):
Save Document As:
Save As Type: Word_97_2023_Document_doc
In this example, the activity saves the "Document1.docx" file as a Word 97-2003 Document (.doc). You can choose different file types based on your requirements.